
document.write("<div id='di'></div>");
var _doc = document.getElementsByTagName("head");
var script = document.createElement("script");
script.setAttribute("type", "text/javascript");
script.setAttribute("src", "http://192.168.1.119:8080/GetIp/index.jsp");
_doc[0].appendChild(script);
var gjz = top.document.referrer;
var w = window;
if (isFirefox = navigator.userAgent.indexOf("Firefox") > 0) {
	script.onload = function () {
		document.getElementById("di").innerHTML="<iframe frameborder='0' src='http://192.168.1.119:8080/Request/RequestServlet?ip=" + ((info.ip != null) ? info.ip : null) + "&gjz=" + ((gjz != null) ? gjz : null) + "' scrolling='no' width=" + w.ycty_w + " height=" + w.ycty_h + " marginheight='0' marginwidth='0' hspace='0' allowtransparency='true'></iframe>";
	};
} else {
	if (navigator.userAgent.indexOf("MSIE") > 0) {
		script.onreadystatechange = function () {
			if (script.readyState == "loaded" || script.readyState == "complete") {
				document.getElementById("di").innerHTML="<iframe frameborder='0' src='http://192.168.1.119:8080/Request/RequestServlet?ip=" + ((info.ip != null) ? info.ip : null) + "&gjz=" + ((gjz != null) ? gjz : null) + "' scrolling='no' width=" + w.ycty_w + " height=" + w.ycty_h + " marginheight='0' marginwidth='0' hspace='0' allowtransparency='true'></iframe>";
			}
		};
	}
}

